<?php

require_once './application/controllers/ControllerBase.php';
require_once './application/core/Toolbar/ToolbarCore.php';

///
/// Classe gerant les connections / deconnections des utilisateurs
///
class ToolbarController extends ControllerBase
{

    function indexAction()
    {
        $this->verifConnexion();
        $this->renderTabControl();
        $toolbar = new ToolbarCore($this);
        $params = $this->_request->getParams();
        $this->view->toolbar = $toolbar->GetToolBar(str_replace("-", "/", $params["source"]));
    }

}
